package mpicbg.imagefeatures;


public class weights
{
	
	public static float weight(float m,float n, float avg)
	{
		float r;
		//n=3*n;
		//m=m/n;
		//m=1-m;
		//r=m*avg;
		
		r=(1 - m/(3*n))* avg;
		
		return r;
	}
	
}